package gw.comp.combobox;

import java.util.Observable;

/**
 *
 * @author jcastillo
 */
public class ValorObservable extends Observable{

    private String nValor;

    public ValorObservable(String nValor) {
        this.nValor = nValor;
    }

    public void setnValor(String nValor) {
        this.nValor = nValor;
        setChanged();
        notifyObservers();
    }

    public String getnValor() {
        return nValor;
    }
}
